﻿using PublicCommon;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace T_vehicle.Domain
{
    /// <summary>
    /// 维修记录
    /// </summary>
    [Table("RepairRecords")]
    public class RepairRecords: Audit
    {
        /// <summary>
        /// 维修记录ID
        /// </summary>
        [Key]
        public int RepairRecordsId { get; set; }

        /// <summary>
        /// 维修标题
        /// </summary>
        /// 
        [StringLength(50)]
        public string? MaintenanceTitle { get; set; }

        /// <summary>
        /// 维修类型
        /// </summary>
        /// 
        [StringLength(50)]
        public string? MaintenanceType { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? LicenNumbers { get; set; }

       /// <summary>
       /// 维修金额
       /// </summary>
        public decimal? MaintenanceMoney { get; set; }

        /// <summary>
        /// 维修负责人
        /// </summary>
        /// 
        [StringLength(50)]
        public string? Head { get; set; }

        /// <summary>
        /// 维修描述
        /// </summary>
        /// 
        [StringLength(100)]
        public string? Description { get; set; }

        /// <summary>
        /// 维修日期
        /// </summary>
        public DateTime? MaintenanceDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        /// 
        [StringLength(150)]
        public string? Remark { get; set; }
    }
}